package cn.sinata.wanglin.commonutils;

/**
 * description：常数
 * Created by kaihongwu on 2016/12/19 下午 2:48
 */
public class Constant {
    public static final int RET_CODE_DOLOGIN=1;
    public static final String  DEFULT_NICKNAME="开心网邻用户";//用户ID
    public static final String  SP_FRIST_TO_MAIN="fristtomain";//是否第一次进入main界面
    public static final String  SP_FRIST_TO_APP="fristtoapp";//是否第一次进入APP
    public static final String  SP_USERID="userid";//用户ID
    public static final String  SP_IM_ACCOUNT="imAccount";//环信账号。
    public static final String  SP_IM_PWD="imPWD";//环信密码。
    public static final String  SP_SEX="sex";//性别
    public static final String  SP_HOUSING_ID="housingId";
    public static final String  SP_HOUSING_NAME="housingName";
    public static final String  SP_NICKNAME="nickname";//昵称
    public static final String  SP_WANGLINID="wanglinid";//开心网邻ID
    public static final String  SP_HEADURL="headurl";//头像
    public static final String  SP_PHONE="telphone";//手机号
    public static final String  SP_USER_PWD="userpassword";//用户密码

    public static final String  SP_NOTIFY_ALLOWED="notifyallowed";//消息允许
    public static final String  SP_VOICE="voice";//声音
    public static final String  SP_SHOCK="shock";//震动
    public static final String  SP_NEED_AUTH="needauth";//需要验证加好友
    public static final String  SP_FIND_ME="findme";//找不到我
    public static final String  SP_BANNER_URL="bannerurl";//广告页面
    public static final String  SP_BANNER_TYPE="bannertype";//广告页面
    public static final String  SP_BANNER_JUMP_URL="bannerjumpurl";//广告页面
    public static final String  SP_LOGIN_TYPE="logintype";//A-QQ,B-WEIXIN,C-ACCOUT
    public static final String  SP_LOGIN_OPENID="openID";
    public static final String  SP_LOGIN_OUTHTYPE="outhType";
    public static final String  SP_LOGIN_HEADURL="headUrl";
    public static final String  SP_LOGIN_NICKNAME="nickName";
    public static final String  SP_LOGIN_SEX="sex";
    public static final String BROADCAST_CHOICE_VILLAGE="action_choice_village";
    public static final String BROADCAST_MSG_ME="action_msg_me";
    public static final String BROADCAST_PUB_SAYING="action_pubsaying";
//    String	类型（A：同城八卦；B:吐槽;C：圈子）
    public static final String  PUB_SAMECITY="A";//同城八卦
    public static final String  PUB_TOCAO="B";//吐槽
    public static final String  PUB_CIRCLE="C";//圈子
    public static final int PUB_SAYING=13;
    //修改相关TAG---start
    public static final int ALT_nickName=1;
    public static final int ALT_headUrl=2;
    public static final int ALT_sex=3;
    public static final int ALT_birthday=4;
    public static final int ALT_housingID=5;
    public static final int ALT_character=6;
    public static final int ALT_industry=7;
    public static final int ALT_belongLabel=8;
    public static final int ALT_otherLabel=9;
    public static final int ALT_isforeign=10;
    public static final int ALT_valid=11;
    //修改相关TAG---stop

    public static class Push{
        public static final String CMD_MEG_TYPE_T = "T";			//@我的
        public static final String CMD_MEG_TYPE_C = "C";			//圈子
        public static final String CMD_MEG_TYPE_F = "F";			//新的朋友
        public static final String CMD_MEG_TYPE_FK = "FK";			//朋友申请
        public static final String CMD_MEG_TYPE_G = "G";			//群验证
        public static final String CMD_MEG_TYPE_GA = "GA";			//群验证通过
        public static final String CMD_MEG_TYPE_P = "P";				//平台公告
        public static final String CMD_MEG_TYPE_S = "S";			//系统消息
    }

    public static final int ResultCode_QUITE = 30;
    public static final int ResultCode_CANCEL_FRIEND = 31;

    public static final String PUBLISH_CIRCLE_ACTION = "publishCircleAction";
    public static final String DELETE_VILLAGE_ACTION = "deleteVillageAction";
}
